package com.hejun.jwt_security.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

@Data
@AllArgsConstructor
public class ResultVo {

    Integer state;
    String message;

    public static ResultVo error(Integer state, String message) {
        return new ResultVo(state,message);
    }
}
